<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8" />
		<title></title>
	</head>
	<body>

	</body>
	
	<script>
		
		var fn;
		function fn(){
			console.log("fn2");
		}
		fn = function(){
			console.log("fn1");
		}
		
		
		
		fn();
		
	</script>
	
</html>